package com.xgl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xgl.pojo.Studentinfo;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 学生个人信息 Mapper 接口
 * </p>
 *
 * @author 最最帅气的熊国林
 * @since 2021-05-09
 */
public interface StudentinfoMapper extends BaseMapper<Studentinfo> {

    IPage<Studentinfo> getStudentInfoByPage(Page<Studentinfo> page, Studentinfo studentinfo, LocalDate[] beginDateScope);

    List<Studentinfo> getStudentInfo(Integer id);

    boolean insertHashCode(Integer id, String hashCode);

    boolean insertPreviousHash(Integer id, String hashCode);

    String getPreHash(Integer id);

    //Map<String,Object> getHashCode(Integer id);
}
